MAKE = make
VERSION = 3.1.3
SRCDIR = src/
DESTDIR = 
CC = /home/larcen/Escritorio/datos/Master/PFM/fuente-arm2/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc
CFLAGS = -I -I/home/larcen/Escritorio/datos/Master/PFM/fuente-arm2/opendomo/opendomo-alerts/usr/include -Wall -W -I/home/larcen/Escritorio/datos/Master/PFM/fuente-arm2/opendomo/opendomo-alerts/downloads/email-3.1.3 -I/home/larcen/Escritorio/datos/Master/PFM/fuente-arm2/opendomo/opendomo-alerts/downloads/email-3.1.3/src -I/home/larcen/Escritorio/datos/Master/PFM/fuente-arm2/opendomo/opendomo-alerts/downloads/email-3.1.3/include -I../include -I/home/larcen/Escritorio/datos/Master/PFM/fuente-arm2/opendomo/opendomo-alerts/downloads/email-3.1.3/dlib/include -I../dlib/include -DEMAIL_VERSION='"3.1.3"' -DCOMPILE_DATE='"10/31/2010-01:13:35PM_EDT"' -DEMAIL_DIR='"${prefix}/etc/email"' -DHAVE_CONFIG_H
LDFLAGS = -L -L/home/larcen/Escritorio/datos/Master/PFM/fuente-arm2/opendomo/opendomo-alerts/usr/lib
LIBS = -lcrypto -lssl -lm 
DLIB = dlib/

prefix = /home/larcen/Escritorio/datos/Master/PFM/fuente-arm2/opendomo/opendomo-alerts/usr
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
mandir = ${datarootdir}/man
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
sysconfdir = ${prefix}/etc
datarootdir = ${prefix}/share

bin_suffix = 

.PHONY: all clean-all clean distclean install uninstall

all:
	cd $(DLIB) && $(MAKE)
	cd $(SRCDIR) && $(MAKE)

install:
	./install.sh --bindir "$(DESTDIR)$(bindir)" --sysconfdir "$(DESTDIR)$(sysconfdir)" \
		--mandir "$(DESTDIR)$(mandir)" --binext "$(bin_suffix)" --version "$(VERSION)" \
        --docdir "$(DESTDIR)$(docdir)"

distclean:
	cd $(SRCDIR) && $(MAKE) clean-all
	rm -rf Makefile config.status VERSION email.help email.1

clean:
	cd $(SRCDIR) && $(MAKE) clean
	cd $(DLIB) && $(MAKE) clean

clean-all:
	cd $(SRCDIR) && $(MAKE) clean-all
	rm -rf autom4* Makefile config.status VERSION email.help email.1 configure \
    config.log configure.in

uninstall:
	./uninstall.sh --bindir "$(DEST_DIR)$(bindir)" --sysconfdir "$(DEST_DIR)$(sysconfdir)" \
	    --mandir "$(DEST_DIR)$(mandir)" --docdir "$(DEST_DIR)$(docdir)" --version "$(VERSION)"


